Bugfix.

Was using session.one() instead of session.first(); the later returns None if
it finds nothing, the later former throws an error.