Fix #174 - Remove assert where runtime errors are more appropriate
Merge pull request #183 from trevorbernard/runtime-exceptions

Fix #174 - Remove assert where runtime errors are more appropriate