Add col.app to get_pk_input, get_m2m_input calls.
Fix check_access call in ajax.py.