setting default value of associations to id instead of object to correct selectbox behavior