a small performance improvement in applicability generation to get the p...

...rofile from existing_applicability instead of looking up in the db when existing_applicability is not None