Raised median dependency to 0.0.17 (ubpb/catalog#215)
Changed (restricted_)loaned? checks to (restricted_)available? checks (ubpb/catalog#215)