[BUGFIX] Allow negative values for entryLevel according to TSRef

Fixes #581.