Session database adapter bug

If `modified_at` value is '0' or NULL, actual session cannot be found.