fixes bug, where not available articles wouldn't be sorted correctly