Fixes: #2589 Added support for foreignKeyCheck for references tab