FAIMS-371: fixing bug with showing extent of database layers for relationships