Fixes bug where last attachment on line was not properly retrieved