It is correct; start with the formula
P(A
|
B)
=
P(A
B)
P(B)
and multiply both sides by P(B)