Adds temporal filtering for relations that are loaded lazily. Closes #218