Fixed an issue with an assertion for the likelihood calculations that failed.
The assertion was placed incorrectly.