Changed (restricted_)loaned? checks to (restricted_)available? checks (ubpb/catalog#215)