CRM-13807 - Fix last to commit to getBAO and add unit test
Merge pull request #2064 from colemanw/4.4

CRM-13807 - Fix last to commit to getBAO and add unit test