Remove continue_learning check when self.algorithm is None

Fixes #1118.

I will add a few tests for this section of the code base shortly.  The error was caused by changes made in #1090.