[Core] Compiler warning for asserts fixed.

The asserts have been combined with a string which always resolved
to true. The strings have been moved to code comments.

Signed-off-by: Daniel S. Reichenbach <daniel@kogitoapp.com>